]> dgit.raspbian.org Git - gnome-shell.git/commit
workspaceAnimation: Do not create clones for override redirect windows
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Fri, 26 Apr 2024 17:23:58 +0000 (19:23 +0200)
committerMarco Trevisan <mail@3v1n0.net>
Fri, 26 Apr 2024 18:31:48 +0000 (18:31 +0000)
commit3a34c16eca56bfa364d3415e777e309317de3c83
treedf65d79061f59e989969fdbce55f0afccb383fd2
parentb7079b8f2f3f4f48bfc84df75a4327ab6cd122a9
workspaceAnimation: Do not create clones for override redirect windows

Override redirect windows manage their own positioning and size alone
and are always sticky, so we're not covering them either with the
animation MonitorsGroup, and thus there's no need to clone them or we'd
end up having two windows painted.

This was causing the shell tray icon window actors (that have no opacity
by default but that are override redirect) to show up during the
animation as their clone animation is not 0.

The other option would be hide them during the animation phase, but
there's no need for this.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3285>
js/ui/workspaceAnimation.js